using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Web;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;

using PlugNT.Cms.Model;
using PlugNT.Cms.BLL;
using PlugNT.Common;
using PlugNT.Cms.Page;

namespace PlugNT.Cms.Web.Admin.Pre_EmailTemplet
{
    public partial class Admin : AdminPager
    {

        protected void Page_Load(object sender, EventArgs e)
        {

            this.CheckPower();

            if (!IsPostBack)
            {
                if (!IsPostBack)
                {
                    Repeater_admin_bind();
                }
            }

        }

        private void Repeater_admin_bind()
        {
            DataTable dt = new EmailTemplet().GetList();
            Repeater_admin.DataSource = dt.DefaultView;
            Repeater_admin.DataBind();
        }


    }
}

